﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CellphoneRepair.DAL;

namespace CellphoneRepair.Entities
{
    [DisplayName("配件类型")]
    public class Pjtype
    {
        [DisplayName("类型ID")]
        public string Idpjtype { get; set; }
        [DisplayName("配件类型")]
        public string Tpname { get; set; }
    }


    public class PjtypeBll : DBCommon<Pjtype>
    {
        public override string TableName
        {
            get { return "Pjtype"; }
        }

        public override string PrimaryKey
        {
            get { return "Idpjtype"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}
